﻿using UnityEngine;
using System.Collections;

public class NewBehaviourScript : MonoBehaviour
{
    int count = 0;
    public GameObject btnOK;
    // Use this for initialization
    void Start()
    {
        Debug.LogWarning("警告模拟提示");
    }

    // Update is called once per frame
    void Update()
    {
        if (Input.GetMouseButton(0))
        {
            Debug.LogError(string.Format("模拟错误提示：{0}",++count));
        }
    }
}
